/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Interface.Participante;

import static Interface.Global.aux;
import Interface.MenuInicial.MenuIniciar;
import Modelo.Edicao.Edicao;
import Modelo.Evento.Evento;
import Modelo.Participante.Participante;
import Modelo.Pessoa.Pessoa;
import java.awt.Component;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.ButtonGroup;
import javax.swing.JFrame;
import javax.swing.JOptionPane;

/**
 *
 * @author ana.siena
 */
public class InscreverParticipante extends javax.swing.JFrame {
    
    //Variaveis
    private long codPessoa;
    private String nomePessoa;
    private String cpfPessoa;
    private String enderecoPessoa;
    private Calendar dataNascPessoa;
    private String emailPessoa;
    private String telefonePessoa;
    private long nroInscricao;
    private long codEvento;
    private long nroEdicao;
    private boolean tipoOuvinte;
    private boolean tipoApresentador;
    private boolean tipoOrganizador;
    private long codEven;
    
    public InscreverParticipante() {
        initComponents();
        init();
    }
    
    private void init(){
        setVisible(true);
        setTitle("Menu Inscricao");
        setLocationRelativeTo(null);
        
        ButtonGroup group = new ButtonGroup();
        group.add(souOuvinte);
        group.add(souApresentador);
        group.add(souOrganizador);
           
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        
        //Preenche combobox do evento
        ArrayList <Evento> vetorCodEvento = new ArrayList <Evento>();
        vetorCodEvento = (ArrayList<Evento>) aux.buscarTodosEventos();
        
        for(int i=0; i<vetorCodEvento.size();i++)
        {
            eventoCombo.addItem(vetorCodEvento.get(i).getCodEvento());
        }
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        BotaoInscrever = new javax.swing.JButton();
        jLabel9 = new javax.swing.JLabel();
        jPanel1 = new javax.swing.JPanel();
        jLabel8 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        eventoCombo = new javax.swing.JComboBox();
        edicaoCombo = new javax.swing.JComboBox();
        jPanel2 = new javax.swing.JPanel();
        telefoneParticipante = new javax.swing.JTextField();
        jLabel6 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        emailParticipante = new javax.swing.JTextField();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        enderecoParticipante = new javax.swing.JTextField();
        jLabel3 = new javax.swing.JLabel();
        dataNascParticipante = new javax.swing.JTextField();
        jLabel4 = new javax.swing.JLabel();
        nomeParticipante = new javax.swing.JTextField();
        cpfParticipante = new javax.swing.JTextField();
        jPanel3 = new javax.swing.JPanel();
        souOuvinte = new javax.swing.JRadioButton();
        souApresentador = new javax.swing.JRadioButton();
        souOrganizador = new javax.swing.JRadioButton();
        botaoRetornar = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        BotaoInscrever.setText("Inscrever-se");
        BotaoInscrever.addActionListener(new java.awt.event.ActionListener() {
            @Override
			public void actionPerformed(java.awt.event.ActionEvent evt) {
                BotaoInscreverActionPerformed(evt);
            }
        });

        jLabel9.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        jLabel9.setText("Inscricao no evento");

        jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder("Voce quer participar do que?"));

        jLabel8.setText("Edicao:");

        jLabel7.setText("Evento:");

        eventoCombo.addActionListener(new java.awt.event.ActionListener() {
            @Override
			public void actionPerformed(java.awt.event.ActionEvent evt) {
                eventoComboActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel7)
                    .addComponent(jLabel8))
                .addGap(18, 18, 18)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(edicaoCombo, 0, 95, Short.MAX_VALUE)
                    .addComponent(eventoCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGap(14, 14, 14)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel7)
                    .addComponent(eventoCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel8)
                    .addComponent(edicaoCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder("Seus dados, por favor! ;)"));

        telefoneParticipante.addActionListener(new java.awt.event.ActionListener() {
            @Override
			public void actionPerformed(java.awt.event.ActionEvent evt) {
                telefoneParticipanteActionPerformed(evt);
            }
        });

        jLabel6.setText("Telefone:");

        jLabel5.setText("E-mail:");

        emailParticipante.setToolTipText("");
        emailParticipante.addActionListener(new java.awt.event.ActionListener() {
            @Override
			public void actionPerformed(java.awt.event.ActionEvent evt) {
                emailParticipanteActionPerformed(evt);
            }
        });

        jLabel1.setText("Nome:");

        jLabel2.setText("CPF:");

        enderecoParticipante.addActionListener(new java.awt.event.ActionListener() {
            @Override
			public void actionPerformed(java.awt.event.ActionEvent evt) {
                enderecoParticipanteActionPerformed(evt);
            }
        });

        jLabel3.setText("Endereço:");

        dataNascParticipante.addActionListener(new java.awt.event.ActionListener() {
            @Override
			public void actionPerformed(java.awt.event.ActionEvent evt) {
                dataNascParticipanteActionPerformed(evt);
            }
        });

        jLabel4.setText("Nascimento:");

        nomeParticipante.addActionListener(new java.awt.event.ActionListener() {
            @Override
			public void actionPerformed(java.awt.event.ActionEvent evt) {
                nomeParticipanteActionPerformed(evt);
            }
        });

        cpfParticipante.addActionListener(new java.awt.event.ActionListener() {
            @Override
			public void actionPerformed(java.awt.event.ActionEvent evt) {
                cpfParticipanteActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel1)
                            .addComponent(jLabel6)
                            .addComponent(jLabel3)
                            .addComponent(jLabel2)
                            .addComponent(jLabel4))
                        .addGap(10, 10, 10))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                        .addComponent(jLabel5)
                        .addGap(37, 37, 37)))
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(emailParticipante)
                    .addComponent(telefoneParticipante)
                    .addComponent(dataNascParticipante, javax.swing.GroupLayout.PREFERRED_SIZE, 103, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(cpfParticipante)
                    .addComponent(nomeParticipante)
                    .addComponent(enderecoParticipante, javax.swing.GroupLayout.PREFERRED_SIZE, 261, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel1)
                    .addComponent(nomeParticipante, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel2)
                    .addComponent(cpfParticipante, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel3)
                    .addComponent(enderecoParticipante, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(14, 14, 14)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(emailParticipante, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(dataNascParticipante, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel4))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel6)
                    .addComponent(telefoneParticipante, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        jPanel3.setBorder(javax.swing.BorderFactory.createTitledBorder("Você participará como?"));

        souOuvinte.setText("Ouvinte");
        souOuvinte.addActionListener(new java.awt.event.ActionListener() {
            @Override
			public void actionPerformed(java.awt.event.ActionEvent evt) {
                souOuvinteActionPerformed(evt);
            }
        });

        souApresentador.setText("Apresentador");
        souApresentador.addActionListener(new java.awt.event.ActionListener() {
            @Override
			public void actionPerformed(java.awt.event.ActionEvent evt) {
                souApresentadorActionPerformed(evt);
            }
        });

        souOrganizador.setText("Organizador");
        souOrganizador.addActionListener(new java.awt.event.ActionListener() {
            @Override
			public void actionPerformed(java.awt.event.ActionEvent evt) {
                souOrganizadorActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(souOuvinte)
                    .addComponent(souApresentador)
                    .addComponent(souOrganizador))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(souOuvinte)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(souApresentador)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(souOrganizador)
                .addContainerGap(11, Short.MAX_VALUE))
        );

        botaoRetornar.setText("Retornar");
        botaoRetornar.addActionListener(new java.awt.event.ActionListener() {
            @Override
			public void actionPerformed(java.awt.event.ActionEvent evt) {
                botaoRetornarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(142, 142, 142)
                        .addComponent(jLabel9))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(26, 26, 26)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(botaoRetornar)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(BotaoInscrever))
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addGroup(layout.createSequentialGroup()
                                    .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGap(18, 18, 18)
                                    .addComponent(jPanel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                .addContainerGap(34, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addComponent(jLabel9)
                .addGap(18, 18, 18)
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(BotaoInscrever)
                    .addComponent(botaoRetornar))
                .addContainerGap(19, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void nomeParticipanteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_nomeParticipanteActionPerformed
       
    }//GEN-LAST:event_nomeParticipanteActionPerformed

    private void cpfParticipanteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cpfParticipanteActionPerformed
       
    }//GEN-LAST:event_cpfParticipanteActionPerformed

    private void dataNascParticipanteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_dataNascParticipanteActionPerformed
        
    }//GEN-LAST:event_dataNascParticipanteActionPerformed

    private void BotaoInscreverActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_BotaoInscreverActionPerformed

        this.nomePessoa = nomeParticipante.getText();
        this.cpfPessoa = cpfParticipante.getText();
        
        DateFormat df = new SimpleDateFormat("dd/MM/yyyy");
                this.dataNascPessoa = Calendar.getInstance();
                try {
                    this.dataNascPessoa.setTime(df.parse(this.dataNascParticipante.getText()));
                } catch (ParseException ex) {
                    Logger.getLogger(InscreverParticipante.class.getName()).log(Level.SEVERE, null, ex);
                    Component frame = null;
                    JOptionPane.showMessageDialog(frame,"Erro!");
                }
        
        this.enderecoPessoa = enderecoParticipante.getText();
        this.emailPessoa = emailParticipante.getText();
        this.telefonePessoa = telefoneParticipante.getText();
        
        this.tipoOuvinte = souOuvinte.isSelected();
        this.tipoOrganizador = souOrganizador.isSelected();
        this.tipoApresentador = souApresentador.isSelected();
        
        codEven = Long.parseLong(""+ eventoCombo.getSelectedItem());
        nroEdicao = Integer.parseInt(""+ edicaoCombo.getSelectedItem());
        
        Pessoa pessoa1 = new Pessoa (nomePessoa, cpfPessoa,enderecoPessoa, dataNascPessoa, emailPessoa, telefonePessoa);
        Pessoa pessoa2 = aux.adicionaPessoa(pessoa1);
        Participante participante = new Participante(pessoa2.getCodPessoa(), nomePessoa, cpfPessoa, enderecoPessoa, 
        		dataNascPessoa, emailPessoa, telefonePessoa, nroInscricao, codEven, nroEdicao, 
        		tipoOuvinte, tipoApresentador, tipoOrganizador);
        aux.adicionaParticipante(participante);
        new MenuIniciar().setVisible(true);
        this.setVisible(false);
    }//GEN-LAST:event_BotaoInscreverActionPerformed

    private void botaoRetornarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_botaoRetornarActionPerformed
        new MenuIniciar().setVisible(true);
        this.setVisible(false);
    }//GEN-LAST:event_botaoRetornarActionPerformed

    private void enderecoParticipanteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_enderecoParticipanteActionPerformed
       
    }//GEN-LAST:event_enderecoParticipanteActionPerformed

    private void emailParticipanteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_emailParticipanteActionPerformed
       
    }//GEN-LAST:event_emailParticipanteActionPerformed

    private void telefoneParticipanteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_telefoneParticipanteActionPerformed
       
    }//GEN-LAST:event_telefoneParticipanteActionPerformed

    private void souOuvinteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_souOuvinteActionPerformed
       
    }//GEN-LAST:event_souOuvinteActionPerformed

    private void souApresentadorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_souApresentadorActionPerformed
       
    }//GEN-LAST:event_souApresentadorActionPerformed

    private void souOrganizadorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_souOrganizadorActionPerformed
       
    }//GEN-LAST:event_souOrganizadorActionPerformed

    private void eventoComboActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_eventoComboActionPerformed
        codEven = Long.parseLong(""+ eventoCombo.getSelectedItem());
               
        if(codEven == 0){
            System.out.println("Não tem nenhum evento selecionado");
        }
        else{
            //Preenche combobox do edicao
            ArrayList <Edicao> vetorCodEdicao = new ArrayList <Edicao>();
            vetorCodEdicao = (ArrayList<Edicao>) aux.buscaEdicoesPorEvento(codEven);
            
            edicaoCombo.removeAllItems();
            for(int i=0; i<vetorCodEdicao.size();i++)
            {
                edicaoCombo.addItem(vetorCodEdicao.get(i).getNroEdicao());
            }
        }
    }//GEN-LAST:event_eventoComboActionPerformed

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton BotaoInscrever;
    private javax.swing.JButton botaoRetornar;
    private javax.swing.JTextField cpfParticipante;
    private javax.swing.JTextField dataNascParticipante;
    private javax.swing.JComboBox edicaoCombo;
    private javax.swing.JTextField emailParticipante;
    private javax.swing.JTextField enderecoParticipante;
    private javax.swing.JComboBox eventoCombo;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JTextField nomeParticipante;
    private javax.swing.JRadioButton souApresentador;
    private javax.swing.JRadioButton souOrganizador;
    private javax.swing.JRadioButton souOuvinte;
    private javax.swing.JTextField telefoneParticipante;
    // End of variables declaration//GEN-END:variables
}
